// index.js
Page({
  
  data:{
    swiperList:["/img/11.jpg","/img/22.png","/img/33.jpg"],
    gridList:["/img/1.png","/img/2.png","/img/3.png","/img/4.png","/img/5.png","/img/6.png","/img/7.png","/img/8.png","/img/9.png",]
  
  },
  
  onLoad:function(options){
    this.getSwiperList()
  },
  getSwiperList(){10
    wx.request({
      url: 'https://www.escook.cn/slides',
      method: 'GET',
      success:(res) => {
        console.log(res)
      }
    })
  }
})
